/**
 * BrandBigData.com Inc. Copyright (c) 2018 All Rights Reserved.
 */
package com.qibao.toolkit.dao;

import java.io.Serializable;

/**
 * 分库分表键值对
 *
 * @author wangcong
 * @version $Id: NameValuePair.java, v0.1 2018/3/21 16:21 wangcong Exp $$
 */
public class NameValuePair<Key extends Serializable, Value extends Serializable> {

    private Key key;
    private Value value;

    public NameValuePair() {
    }

    public NameValuePair(Key key, Value value) {
        this.key = key;
        this.value = value;
    }

    public Key getKey() {
        return key;
    }

    public void setKey(Key key) {
        this.key = key;
    }

    public Value getValue() {
        return value;
    }

    public void setValue(Value value) {
        this.value = value;
    }
}
